package day06;

import java.util.Scanner;

public class txt3 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入一个成绩");
        int score=sc.nextInt();
        switch (score/10){
            case 10:
            case 9:
            case 8:
                System.out.println("优秀");break;
            case 7:
                System.out.println("良好");break;
            case 6:
                System.out.println("中等");break;
            case 5:
            case 4:
            case 3:
            case 2:
            case 1:
                System.out.println("不及格");break;
                default:
                    System.out.println("输入错误");
        }
    }
}
